﻿using System;
using System.Collections.Generic;
using System.Web;
using PayRoller.Code;
using System.Web.SessionState;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using HySoft.Cash.Business;
using HySoft.Cash.Structure;
using System.Configuration;
using System.Web.Profile;
using System.Data;
using System.Web.UI;
using System.Data.SqlClient;
using HySoft.Cash.BaseClass;
namespace PayRoller.Manage.OrgInfo
{
    public class EmpPay : ParentPage, IRequiresSessionState
    {
        // Fields
        protected Button Button1;
        protected Button Button2;
        protected Button Button3;
        protected Button Button4;
        protected Button Button5;
        protected Button Button6;
        protected CheckBox cbPayment;
        protected DropDownList dlAccount;
        protected DropDownList dlPayment;
        protected DropDownList dlPayment2;
        protected DropDownList dlStatus;
        public DataTable dtBankList;
        public string EmpName = "";
        public string EmpStatus = "";
        protected HtmlForm form1;
        protected Label lblTip;
        public string OrgEmpSid = "";
        public int OrgSid;
        protected RadioButtonList RadioButtonList1;
        protected ScriptManager ScriptManager1;
        public string Sid = "";
        protected HtmlTable TABLE1;
        protected HtmlTable TABLE2;
        protected HtmlTable TABLE3;
        protected HtmlTable TABLE4;
        protected HtmlTable TABLE5;
        protected HtmlTable TABLE6;
        protected TextBox txtAccountName;
        protected TextBox txtAccountName2;
        protected TextBox txtAccountNum;
        protected TextBox txtAccountNum2;
        protected TextBox txtAmount;
        protected TextBox txtBankName;
        protected TextBox txtBankName2;
        protected TextBox txtBranch;
        protected TextBox txtBranch2;
        protected TextBox txtBsb;
        protected TextBox txtBsb2;
        protected TextBox txtPaymentAmount;
        protected TextBox txtPaymentDate;
        protected TextBox txtPayReference;
        protected TextBox txtPayReference2;

        

        protected override void OnInit(EventArgs e)
        {
            base.m_ModuleCode = "0006";
            base.CheckLogin(true);
            base.CheckPerm();
            base.OnInit(e);
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        

        // Properties
        protected HttpApplication ApplicationInstance
        {
            get
            {
                return this.Context.ApplicationInstance;
            }
        }

        protected DefaultProfile Profile
        {
            get
            {
                return (DefaultProfile)this.Context.Profile;
            }
        }

        
    }
}
